package com.hxzy.shop.commodity.dto.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class NewHomeListResp implements Serializable {
    @ApiModelProperty("分类id")
    private int categoryId;

    @ApiModelProperty("列表图")
    private String tabularChart;

    @ApiModelProperty("药品名称")
    private String drugName;

    @ApiModelProperty("统一零售价")
    private BigDecimal uniformRetailPrice;

    @ApiModelProperty("药品id")
    private String drugId;
    @ApiModelProperty("药品单位")
    private String company;
    @ApiModelProperty("活动ID")
    private String activityId;

    @ApiModelProperty("排序")
    private int sort;

    @ApiModelProperty("活动开始时间")
    private Date activityStartTime;

    @ApiModelProperty("活动结束时间")
    private Date activityEndTime;

    @ApiModelProperty("活动状态 true 开始 false 结束")
    private Boolean activitystatusEnd;

    @ApiModelProperty("活动价格")
    private BigDecimal activityPrice;

    @ApiModelProperty("活动类型  1限时折扣 2秒杀")
    private BigDecimal activityType;

    @ApiModelProperty("活动起步数量")
    private Integer baseLimit;

    @ApiModelProperty("限时折扣满足数量优惠价格")
    private BigDecimal coupon;

    /**
     * 满足金额，则开始优惠（满减）
     */
    @ApiModelProperty("满足金额，则开始优惠（满减）")
    private BigDecimal amount;
    /**
     * 优惠金额（满减）
     */
    @ApiModelProperty("优惠金额（满减）")
    private BigDecimal discountAmount;
    /**
     * 折扣率(存百分比)
     */
    @ApiModelProperty("折扣率(存百分比)")
    private BigDecimal discount;
}